<?php
namespace App\Api\Controllers;
use Common\ApiController;
use Common\Models\H5page;
use Common\Models\Notices;
use Common\Models\NoticesUsed;

class SourceController extends ApiController
{
    public function initialize()
    {
        parent::initialize();
    }

    /**
     *获取拼多多的主题列表
     */
    public function pdd_themeAction(){
        if(!isset($this->params['page']) || empty($this->params['page'])){
            $this->params['page']=1;
        }
        if(!isset($this->params['page_size']) || empty($this->params['page_size'])){
            $this->params['page_size']=10;
        }
        $result = $this->pdd->theme_list_get();
        $this->ok($result);
    }
}
